#include <format>
#include <iostream>
#include <memory>
#include <optional>
#include <thread>
#include <vector>

#include "lib/rect.h"

std::unique_ptr<Rect> create_default_rect()
{
    return std::make_unique<Rect>(Rect::_new(0, 0));
}

int main()
{
    auto a = create_default_rect();

    a->set_w(30);
    a->set_h(40);

    std::cout << a->area() << std::endl;
    std::cout << *a << std::endl;

    std::cout << "中国" << std::endl;

    return 0;
}
